/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.type;

/**
 * 
 * @author haolw
 * @time 2018/02/09
 */
public enum OrderPreErrorType {
	SUCCESS(0, "success"), 
	NO_ORDER(1, "没有该订单"), 
	NO_SUPPORT_WXPAY(2, "不支持微信支付"), 
	NO_SUPPORT_ALIPAY(3, "不支持支付宝支付"), 
	;
	private Integer type;
	private String name;

	OrderPreErrorType(Integer type, String name) {
		this.type = type;
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
